class WashMachine {
    public String brand;
    public int age;
    public String color;

    public void Print() {
        System.out.println(brand + " " + age + " " + color);
    }

    public void set(String brand, int age, String color) {
        this.brand = brand;
    }
}
public class Demo07 {
    public static void main(String[] args) {
        WashMachine w=new WashMachine();
       /* w.brand="xiaomi";
        w.age=1;
        w.color="red";*/
        w.set("xiaomi",1,"red");
        w.Print();
    }
}
